﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace PerformanceAssessment.Models
{
    public class SkillsPerTeam
    {
        [ForeignKey("Team")]
        [Key, Column(Order=0)]
        public int IdTeam { get; set; }
        [ForeignKey("Skill")]
        [Key, Column(Order = 1)]
        public int IdSkill { get; set; }
        public int DisplayOrder { get; set; }

        public Team Team { get; set; }
        public Skill Skill { get; set; }
    }
}